package com.gadgets.framework.statusmach.exception;

import com.gadgets.framework.common.constant.ExceptionEnum;
import com.gadgets.framework.common.exception.GadgetsException;
import com.gadgets.framework.statusmach.constant.Fm02ExceptionConstant;

import java.util.Locale;

/**
 * @author UncleXiu
 * @version V1.0.0
 * @data 2020-09-27
 *
 */
public class GadgetsStatusMachineException extends GadgetsException {

    public GadgetsStatusMachineException(Object... args) {
        super(ExceptionEnum.BUSI_ERROR, Fm02ExceptionConstant.STATUS_NOT_FOUND, args);
    }

    public GadgetsStatusMachineException(Locale locale,  String errorCode, Object... args) {
        super(locale, ExceptionEnum.BUSI_ERROR, errorCode, args);
    }

}
